﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace HomeStayWebCP.Controllers
{
    public class RegisterController : Controller
    {
        //
        // GET: /Register/

        public ActionResult Index()
        {
            if (Session["username"] == null)
            {
                ViewBag.Username = "";
            }
            else
            {
                ViewBag.Username = Session["username"].ToString();
            }

            return View("Homepage");
            
        }
        
        

    }
}
